<script type="text/javascript">
    var first_sceen__time = (+new Date());
    if ("" == 1 && document.getElementById('js_content'))
        document.getElementById('js_content').addEventListener("selectstart",function(e){ e.preventDefault(); });

    (function(){
        if (navigator.userAgent.indexOf("WindowsWechat") != -1){
            var link = document.createElement('link');
            var head = document.getElementsByTagName('head')[0];
            link.rel = 'stylesheet';
            link.type = 'text/css';
            link.href = "https://res.wx.qq.com/mmbizwap/zh_CN/htmledition/style/page/appmsg/page_mp_article_improve_winwx2a9cd9.css";
            head.appendChild(link);
        }
    })();
</script>
<link rel="stylesheet" type="text/css" href="https://res.wx.qq.com/mmbizwap/zh_CN/htmledition/style/page/appmsg/page_mp_article_improve_combo2a7a3f.css">
<div class="reward_area tc" id="js_reward_area">
    <p class="tips_global reward_tips">{$detail['admiretxt']}</p>
    <p>
        <style>
            .reward_access {
                display: inline-block;
                padding: 0 1.6em;
                line-height: 2;
                border-radius: 5px;
                -moz-border-radius: 5px;
                -webkit-border-radius: 5px;
                background-color: #dc5d4a;
                color: #fff;
                font-size: 16px;
                -webkit-tap-highlight-color: rgba(0,0,0,0);
            }
            a {
                color: #607fa6;
                text-decoration: none;
            }
        </style>
        <a class="reward_access" id="js_reward_link" href="{php echo $this->createMobileUrl("admire", array("artid"=>$detail['id']))}">赞赏</a>
    </p>
    {if count($admires)>0}
    <div id="js_reward_inner" class="reward_area_inner" style="width: auto;">
        <p class="tips_global reward_user_tips">
            <a href="javascript:;" id="js_reward_total">{php echo count($admires)}</a>人赞赏</p>
        <div id="js_reward_list" class="reward_user_list tl">
            {loop $admires $index $admire}

                                <span class="reward_user_avatar" data-acid="{$admire['id']}">
                                    <img src="{$admire['thumb']}">
                                </span>  {if fmod($index,6)==0} <br/>
            {/if}

            {/loop}
        </div>
    </div>
    {/if}
</div>